import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    city:{   
            cityId: 440300,
            isHot: 1,
            name: "深圳",
            pinyin: "shenzhen",
    }
  },
  getters: {
  },
  mutations: {
    changeCity(state,payload){
      state.city = payload
    }
  },
  actions: {
  },
  modules: {
  }
})
